package com.bnz.service;

import com.bnz.pojo.PageResult;
import com.bnz.pojo.Student;
import com.bnz.pojo.StudentVo;

import java.util.List;

public interface StudentService {
    List<Student> findAll();

    Student findById(int id);

    PageResult<Student> findByPage(int page, int pageSize);

    PageResult<Student> search(int page, int pageSize, StudentVo vo);

    void add(Student student);

    void update(Student student);

    void delete(String id);
}
